package com.feicheng.common.constant;

public class Constant {

    public static class HTTP {

        public static class PARAM {
            public static final String SESSION_ID = "sessionId";
            public static final String CURRENT = "current";
            public static final String SIZE = "size";
            public static final String MAXAGE = "maxage";
            public static final String MINAGE = "minage";
            public static final String CODE = "CODE";
            public static final String DATATIMEFORMATTER = "yyyy-MM-dd HH:mm:ss";
            public static final String LASTCT = "lastct";
            public static final String LASTUT = "lastut";
        }

        public static class REQUEST {
            public static final String QU = "?";
            public static final String EQ = "=";
            public static final String AD = "&";
        }
    }

    public static class WX {
        public static class PARAM {
            public static final String CODE = "code";
            public static final String APPID = "appid";
            public static final String SECRET = "secret";
            public static final String GRANT_TYPE = "grant_type";
            public static final String JS_CODE = "js_code";
            public static final String REFRESH_TOKEN = "refresh_token";
            public static final String ACCESS_TOKEN = "access_token";
            public static final String EXPIRES_IN = "expires_in";
            public static final String SCOPE = "scope";
            public static final String OPENID = "openid";
            public static final String LANG = "lang";
            public static final String OPEN_ID = "open_id";
            public static final String AUTHORIZATION_CODE = "authorization_code";
        }

        public static class VALUE {
            public static final String ZH_CN = "ZH_CN";
            public static final String AUTHORIZATION_CODE = "authorization_code";
        }

        public static class RESPONSE {
            public static final String OPENID = "openid";
            public static final String REFRESH_TOKEN = "refresh_token";
            public static final String ACCESS_TOKEN = "access_token";
            public static final String EXPIRES_IN = "expires_in";
            public static final String SCOPE = "scope";
            public static final String ERRCODE = "errcode";
            public static final String ERRMSG = "errmsg";
            public static final String NICK_NAME = "nickname";
            public static final String SEX = "sex";
            public static final String PROVINCE = "province";
            public static final String CITY = "city";
            public static final String COUNTRY = "country";
            public static final String HEAD_IMG_URL = "headimgurl";
            public static final String PRIVILEGE = "privilege";
            public static final String UNIONID = "unionid";
            public static final String USER_INFO = "user_info";
            public static final String PHONE_INFO = "phone_info";
            public static final String PURE_PHONE_NUMBER = "purePhoneNumber";
        }

    }


    public static class RESULT {
        public static final String SESSIONID = "SESSIONID";
        public static final String SUCCESS = "SUCCESS";
        public static final String ERROR = "ERROR";
        public static final String FAIL = "FAIL";
        public static final String BINDING_FAIL = "BINDING_FAIL";
        public static final String NOT_LOGIN = "NOT_LOGIN";
        public static final String CODE = "CODE";
        public static final String STATU = "STATU";
        public static final String MESSAGE = "MESSAGE";
        public static final String DATA = "DATA";
        public static final String CURRENT = "CURRENT";

        public static class STORE {
            public static final String STORE = "store";
        }

        public static class USER {
            public static final String USER = "user";
        }
        
        public static class CLIENT {
            public static final String CLIENT = "client";
        }

        public static class ROLE {
            public static final String ROLE = "role";
            public static final String ROLES = "roles";
        }

        public static class PERMISSION {
            public static final String PERMISSIONS = "permissions";
        }

    }

    public static class VAL {
        public static class ORDER_STATU {
            public static final String ST = "ST";
            public static final String UNPAY = "UNPAY";
            public static final String FIN = "FIN";
        }
        public static class BACK_REQUEST_DEPOSIT {
        	public static final String PAY = "PAY"; //已支付
            public static final String REQ = "REQ"; //已申请
            public static final String REJ = "REJ"; //已驳回
            public static final String BCK = "BCK"; //已退还
            public static final String CLO = "CLO"; //已关闭
            public static final String EXC = "EXC"; //退款异常
            public static final String RUN = "RUN"; //退款中
        }
        public static final String UNPAY = "UNPAY";
        public static class DEPOSIT {
            public static final String INS = "INS";
            public static final String OUT = "OUT";
        }
        public static class WX_TYPE {
            public static final String D = "D";
            public static final String S = "S";
            public static final String Y = "Y";
            public static final String P = "P";
        }
        public static class PAY_TYPE {
            public static final String WX = "WX";
            public static final String ALI = "ALI";
            public static final String YUN = "YUN";
        }
    }

    public static class MODEL_NAME {
        public static final String MAIN = "MAIN";
        public static final String SHOP = "SHOP";

        public static class Order {
            public static final String ST = "ST";
            public static final String UNPAY = "UNPAY";
            public static final String FIN = "FIN";
            public static final String DATE = "yyyy-MM-dd HH:mm:ss";
            public static final String P = "P";
            public static final String C = "C";
            public static final String V = "V";
        }
        public static class QCODEVAL{
            public static final String CLIENT_ID = "client_id";
            public static final String STORE_ID = "store_id";
            public static final String ST = "st";
            public static final String ET = "et";
            public static final String COMMA = ",";
            public static final String QCODETYPE = "qcodeType";
            public static final String TIME = "yyyy-MM-dd HH:mm:ss";
            public static final String TIMEOLD = "T";
            public static final String TIMENEW = " ";
            public static final String SINGLEQUOTATIONMAKSMENEW="\"";
            public static final String DOUBLEQUOTATIONMAKSMENEW="\"\"";
        }

        public static class QCODEACCESSVAL {
            public static final String CODEVAL = "CodeVal";
            public static final String SN = "SN";
            public static final String UID = "UID";
            public static final String STATUS = "Status";
            public static final String VIEWID = "ViewId";
            public static final String STORE_ID = "StoreId";
            public static final String CLIENT_ID = "ClientId";
            public static final String UKEY = "UKey";

        }

        public static class BASE{
            public static final String  BASE = "0123456789";
        }
        public static class CMD{
            public static final String  CMD_ID = "CmdID";
            public static final String  CMD_CODE = "CmdCode";
            public static final String  CMD_STATUS = "CmdStatus";
            public static final String  CMD_PARAMS = "CmdParams";
            public static final String  CMD_STATUS_DESC = "CmdStatusDesc";
            public static final String  VIEW_ID = "ViewId";
            public static final String  UID = "UID";
            public static final String  UKEY = "UKey";
        }

    }

    public static class CONSUME_TYPE {
        public static final String P = "P";
        public static final String C = "C";
        public static final String V = "V";
    }

    public static class VIP_TYPE {
        public static final String C = "C";
        public static final String V = "V";
    }

    public static class LOGIN_TYPE {
        public static final String AP = "AP";
        public static final String TM = "TM";
        public static final String WX_Q_CODE = "WX_Q_CODE";
        public static final String WX = "WX";
        public static final String WX_CODE = "WX_CODE";
        public static final String WX_APP = "WX_APP";
    }

    public static class PAY_TYPE {
        public static final String WX = "WX";
        public static final String ALI = "ALI";
        public static final String YUN = "YUN";
    }

    public static class ENTITY {

        public static class USER {
            public static final String TABLE = "user";
            public static final String USER_ID = "user_id";
            public static final String ACCOUNT = "account";
            public static final String PASSWORD = "password";
            public static final String TEL = "tel";
            public static final String OPEN_ID = "open_id";
            public static final String SEC_ID = "sec_id";
            public static final String CU = "cu";
            public static final String CT = "ct";
            public static final String UU = "uu";
            public static final String UT = "ut";
        }

        public static class USER_ROLE {
            public static final String TABLE = "user_role";
            public static final String USER_ID = "user_id";
            public static final String ROLE_ID = "role_id";
        }

        public static class VIP {
            public static final String TABLE = "vip";
            public static final String VIP_ID = "vip_id";
            public static final String CT = "ct";
            public static final String ST = "st";
            public static final String ET = "et";
            public static final String VIP_TYPE = "vip_type";
            public static final String CARD_RECORD_ID = "card_record_id";
            public static final String VOUCHER_RECORD_ID = "voucher_record_id";
            public static final String STATU = "statu";
            public static final String C = "C";
            public static final String V = "V";
        }

        public static class VOUCHER_CONSUME_RECORD {
            public static final String TABLE = "voucher_consume_record";
            public static final String V_C_RECORD_ID = "v_c_record_id";
            public static final String CT = "ct";
            public static final String AMOUNT = "amount";
            public static final String RECORD_ID = "record_id";
            public static final String TIME_LONGS = "time_longs";
        }

        public static class VOUCHER_RECORD {
            public static final String TABLE = "voucher_record";
            public static final String RECORD_ID = "record_id";
            public static final String VOUCHER_TYPE_ID = "voucher_type_id";
            public static final String UU_ID = "uu_id";
            public static final String PASSWORD = "password";
            public static final String TIME_LONGS = "time_longs";
            public static final String CT = "ct";
            public static final String ST = "st";
            public static final String ET = "et";
            public static final String STATU = "statu";
        }

        public static class VOUCHER_TYPE {
            public static final String TABLE = "voucher_type";
            public static final String VOUCHER_TYPE_ID = "voucher_type_id";
            public static final String NAME = "name";
            public static final String TIME_LONGS = "time_longs";
            public static final String STATU = "statu";
            public static final String D_FLG = "d_flg";
        }

        public static class WX_SERVER {
            public static final String TABLE = "wx_server";
            public static final String W_ID = "w_id";
            public static final String WX_TYPE = "wx_type";
            public static final String APP_ID = "app_id";
            public static final String ACCESS_KEY = "access_key";
            public static final String STATU = "statu";
            public static final String D_FLG = "d_flg";
        }

        public static class ROLE {
            public static final String TABLE = "role";
            public static final String ROLE_ID = "role_id";
            public static final String ROLE_NAME = "role_name";
            public static final String STATU = "statu";
            public static final String Cu = "cu";
            public static final String CT = "ct";
            public static final String UU = "uu";
            public static final String UT = "ut";
        }

        public static class PERMISSION {
            public static final String TABLE = "permission";
            public static final String PERMISSION_ID = "permission_id";
            public static final String P_ID = "p_id";
            public static final String STATU = "statu";
            public static final String NAME = "name";
            public static final String PATH = "path";
            public static final String CU = "cu";
            public static final String CT = "ct";
            public static final String UU = "uu";
            public static final String UT = "ut";
        }

        public static class STORE_USER {
            public static final String TABLE = "store_user";
            public static final String USER_ID = "user_id";
            public static final String ACCOUNT = "account";
            public static final String PASSWORD = "password";
            public static final String TEL = "tel";
            public static final String SEC_ID = "sec_id";
            public static final String OPEN_ID = "open_id";
            public static final String CU = "cu";
            public static final String CT = "ct";
            public static final String UU = "uu";
            public static final String UT = "ut";
        }

        public static class STORE_ROLE {
            public static final String TABLE = "store_role";
            public static final String ROLE_ID = "role_id";
            public static final String ROLE_NAME = "role_name";
            public static final String CU = "cu";
            public static final String CT = "ct";
            public static final String UU = "uu";
            public static final String UT = "ut";
            public static final String STATU = "statu";
        }

        public static class STORE_PERMISSION {
            public static final String TABLE = "store_permission";
            public static final String PERMISSION_ID = "permission_id";
            public static final String P_ID = "p_id";
            public static final String STATU = "statu";
            public static final String NAME = "name";
            public static final String PATH = "path";
            public static final String CU = "cu";
            public static final String CT = "ct";
            public static final String UU = "uu";
            public static final String UT = "ut";
            public static final String TYPE = "type";
        }

        public static class STORE {
            public static final String TABLE = "store";
            public static final String STORE_ID = "store_id";
            public static final String NAME = "name";
            public static final String ADDRESS = "address";
            public static final String CON_TEL = "con_tel";
            public static final String CON_PERSON = "con_person";
            public static final String DES = "des";
            public static final String STATU = "statu";
            public static final String D_FLG = "d_flg";
        }

        public static class STORE_ACCESS {
            public static final String TABLE = "store_access";
            public static final String STORE_ID = "store_id";
            public static final String ACCESS_ID = "access_id";
            public static final String IO_FLG = "io_flg";
        }

        public static class STORE_CLIENT {
            public static final String TABLE = "store_client";
            public static final String STORE_ID = "store_id";
            public static final String CLIENT_ID = "client_id";
            public static final String OPEN_ID = "open_id";
            public static final String WX_TYPE = "wx_type";
            public static final String UNION_ID = "union_id";
        }

        public static class STORE_ROLE_PERMISSION {
            public static final String TABLE = "store_role_permission";
            public static final String ROLE_ID = "role_id";
            public static final String PERMISSION_ID = "permission_id";
        }

        public static class STORE_USER_INFO {
            public static final String TABLE = "store_user_info";
            public static final String USER_ID = "user_id";
            public static final String STORE_ID = "store_id";
        }

        public static class STORE_USER_ROLE {
            public static final String TABLE = "store_user_role";
            public static final String USRE_ID = "user_id";
            public static final String ROLE_ID = "role_id";
        }

        public static class STORE_WX {
            public static final String TABLE = "store_wx";
            public static final String STORE_ID = "store_id";
            public static final String W_ID = "w_id";
        }

        public static class ACCESS {
            public static final String TABLE = "access";
            public static final String ACCESS_ID = "access_id";
            public static final String MODEL_NUMBER = "model_number";
            public static final String U_ID = "u_id";
            public static final String U_KEY = "u_key";
            public static final String SN = "sn";
            public static final String STATU = "statu";
            public static final String D_FLG = "d_flg";
        }

        public static class ACCESS_RECORD {
            public static final String TABLE = "access_record";
            public static final String RECORD_ID = "record_id";
            public static final String ACCESS_ID = "access_id";
            public static final String STORE_ID = "store_id";
            public static final String CLIENT_ID = "client_id";
            public static final String CT = "ct";
        }

        public static class ACCOUNT {
            public static final String TABLE = "account";
            public static final String ACCOUNT_ID = "account_id";
            public static final String DEPOSIT_AMOUNT = "deposit_amount";
            public static final String TIME_LONGS = "time_longs";
            public static final String CLIENT_ID = "client_id";
        }

        public static class CARD_CONSUME_RECORD {
            public static final String TABLE = "card_consume_record";
            public static final String C_C_RECORD_ID = "c_c_record_id";
            public static final String CT = "ct";
            public static final String AMOUNT = "amount";
            public static final String RECORD_ID = "record_id";
            public static final String TIME_LONGS = "time_longs";
        }

        public static class CARD_RECORD {
            public static final String TABLE = "card_record";
            public static final String RECORD_ID = "record_id";
            public static final String PAY_ID = "pay_id";
            public static final String CARD_TYPE_ID = "card_type_id";
            public static final String AMOUNT = "amount";
            public static final String TIME_LONGS = "time_longs";
            public static final String ST = "st";
            public static final String ET = "et";
            public static final String STATU = "statu";
        }

        public static class CARD_TYPE {
            public static final String TABLE = "card_type";
            public static final String CARD_TYPE_ID = "card_type_id";
            public static final String NAME = "name";
            public static final String TIME_LONGS = "time_longs";
            public static final String STATU = "statu";
            public static final String D_FLG = "d_flg";
        }

        public static class CLIENT {
            public static final String TABLE = "client";
            public static final String CLIENT_ID = "client_id";
            public static final String CLIENT_NAME = "client_name";
            public static final String PHONE = "phone";
            public static final String SEX = "sex";
            public static final String AGE = "age";
            public static final String D_FLG = "d_flg";
        }

        public static class CLIENT_DEPOSIT {
            public static final String TABLE = "client_deposit";
            public static final String CLIENT_ID = "client_id";
            public static final String DEPOSIT_ID = "deposit_id";
            public static final String STATU = "statu";
        }

        public static class CLIENT_VIP {
            public static final String TABLE = "client_vip";
            public static final String CLIENT_ID = "client_id";
            public static final String VIP_ID = "vip_id";
        }

        public static class CONSUME_RECORD {
            public static final String TABLE = "consume_record";
            public static final String CONSUME_RECORD_ID = "consume_record_id";
            public static final String TYPE = "type";
            public static final String V_C_RECORD_ID = "v_c_record_id";
            public static final String PAY_ID = "pay_id";
            public static final String C_C_RECORD_ID = "c_c_record_id";
        }
        public static class CUT_DEPOSIT_RECORD{
            public static final String TABLE = "cut_deposit_record";
            public static final String CUT_DEPOSIT_RECORD = "cut_deposit_record";
            public static final String AMOUNT = "amount";
            public static final String REASON = "reason";
            public static final String CLIENT_ID = "client_id";
            public static final String IO_FLG = "io_flg";
            public static final String DEL_FLG = "del_flg";
            public static final String CT = "ct";
            public static final String CUT_ID = "cut_id";
        }
        public static class DEPOSIT_BACK_REQUEST {
            public static final String TABLE = "deposit_back_request";
            public static final String BACK_ID = "back_id";
            public static final String STORE_ID = "store_id";
            public static final String AMOUNT = "amount";
            public static final String REASON = "reason";
            public static final String STATU = "statu";
            public static final String CLIENT_ID = "client_id";
            public static final String DEPOSIT_ID = "deposit_id";
            public static final String CT = "ct";
            public static final String UT = "ut";
            public static final String UU = "uu";
        }
        public static class DEPOSIT_RECORD{
            public static final String TABLE = "deposit_record";
            public static final String DEPOSIT_ID = "deposit_id";
            public static final String PAY_ID = "pay_id";
            public static final String CT = "ct";
            public static final String AMOUNT = "amount";
            public static final String TYPE = "type";
            public static final String REASON = "reason";
        }
        public static class ORDER{
            public static final String TABLE = "order";
            public static final String ORDER_ID = "order_id";
            public static final String CT = "ct";
            public static final String UT = "ut";
            public static final String ST = "st ";
            public static final String ET = "et";
            public static final String AMOUNT = "amount";
            public static final String TIME_LONGS = "time_longs";
            public static final String STORE_ID = "store_id";
            public static final String STORE_NAME = "store_name";
            public static final String CLIENT_ID = "client_id";
            public static final String CLIENT_NAME = "client_name";
            public static final String STATU = "statu";
            public static final String D_FLG = "d_flg";
            public static final String PHONE = "phone";
        }
        public static class ORDER_CONSUME{
            public static final String TABLE="order_consume";
            public static final String ORDWER_ID = "order_id";
            public static final String CT = "ct";
            public static final String UT = "ut";
            public static final String ST = "st";
            public static final String ET = "et";
            public static final String AMOUNT = "amount";
            public static final String TIME_LONGS = "time_longs";
            public static final String STORE_ID = "store_id";
            public static final String STORE_NAME = "store_name";
            public static final String CLIENT_ID = "client_id";
            public static final String CLIENT_NAME = "client_name";
            public static final String STATU = "statu";
            public static final String D_FLG = "d_flg";
        }

        public static class PAYMENT_RECORD{
            public static final String TABLE = "payment_record";
            public static final String PAY_ID = "pay_id";
            public static final String CT = "ct";
            public static final String PAY_TYPE = "pay_type";
            public static final String ORIGINAL_CODE = "original_code";
            public static final String IO_FLG = "io_flg";
        }

        public static class PRICE{
            public static final String TABLE = "price";
            public static final String PRICE_ID = "price_id";
            public static final String CARD_TYPE_ID = "card_type_id";
            public static final String AMOUNT = "amount";
            public static final String STATU = "statu";
            public static final String D_FLG = "d_flg";
        }
        public static class ROLE_PERMISSION{
            public static final String TABLE = "role_permission";
            public static final String ROLE_ID = "role_id";
            public static final String PERMISSION_ID = "permission_id";
        }
        
        public static class DEPOSIT_TRANSFER_BATCH{
            public static final String ID="id";
            public static final String APPID = "appid";
            public static final String CT = "ct";
            public static final String CU = "cu";
            public static final String STATUS = "status";
            public static final String BATCH_ID = "batch_id";
            public static final String TOTAL_AMOUNT = "total_amount";
            public static final String TOTAL_NUM = "total_num";
            public static final String TRANSFER_SENCE_ID = "transfer_sence_id";
            public static final String BATCH_REMARK = "batch_remark";
            public static final String OUT_BATCH_NO = "out_batch_no";
            public static final String BATCH_NAME = "batch_name";
           
        }

        public static class DEPOSIT{
            public static final String DEPOSIT_ID = "deposit_id";
            public static final String AMOUNT = "amount";
            public static final String STORE_ID = "store_id";
            public static final String STORE_TYPE = "store_type";
            public static final String D_FLG = "d_flg";
        }

        public static class DEPOSIT_TRANSFER_DETAIL{
            public static final String OUT_DETAIL_NO="out_detail_no";
            public static final String TRANSFER_AMOUNT = "transfer_amount";
            public static final String TRANSFER_REMARK = "transfer_remark";
            public static final String OPENID = "openid";
            public static final String USER_NAME = "user_name";
            public static final String USER_ID_CARD = "user_id_card";
            public static final String D_T_B_ID = "d_t_b_id";
            public static final String BACK_ID = "back_id";
            
        
    }
}
}
